<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>9.27作业4</title>
	<script>
		   var num=Number(prompt('请输入一个数字'));
		   var num1=Number(prompt('请输入一个数字'));
		   console.log((num+num1)*2);
		   console.log(num*num1);
	</script>
</head>
<body>
	
</body>
</html>